package com.hs.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDateTime;


@Data
@TableName("users")
@AllArgsConstructor
public class User {
    @TableId(type = IdType.AUTO)
    Integer id;
    String username;
    String password;
    String email;
    String tel;
    Integer age;
    Integer sex;
    String id_card;
    LocalDateTime create_time;
    String avatar;
    Integer role;
    Integer team_leader_id;
}
